# --------------------------------
# -*- coding: utf-8 -*-
# Author: Zhu
# Time: 2021/12/13   
# Description: 作业端-货主管理-----管理端
# --------------------------------
from selenium.webdriver.common.by import By

class ele_SHIPPER_MANAGEMENT:

    # 打开系统配置菜单
    ys_Click_SystemMenu = By.XPATH, "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/div/span"

    # 打开货主设置页面
    ys_Click_Shipper = By.XPATH, "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/ul/div[2]/a/li/span"

    # 新建货主
    # ys_Click_CreateShipper = By.XPATH, "/html/body/div/div/div[2]/section/div/div[2]/div[1]/button/span"
    ys_Click_CreateShipper = By.XPATH, "//span[contains(text(),'新建')]"

    # 输入货主编码
    ys_Input_ShipperBM = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[1]/div/div/div[1]/input"

    # 输入货主名称
    ys_Input_ShipperName = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[2]/div/div/div/input"

    # 输入联系人
    ys_Input_ShipperContact = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[3]/div/div/div/input"

    # 输入联系人手机
    ys_Input_ShipperContactPhone = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[4]/div/div/div/input"

    # 输入联系人固话
    ys_Input_ShipperPhoneGH= By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[5]/div/div/div/input"

    # 输入联系人备注
    ys_Input_ShipperRemark = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[6]/div/div/div/input"

    # 输入详细地址
    ys_Input_ShipperAddress = By.XPATH, "/html/body/div[3]/div/div[2]/div/form/div/div[7]/div/div/div/input"

    # 确定新建按钮
    ys_Submit_CreateShipper = By.XPATH, "/html/body/div[3]/div/div[3]/span/button[2]/span"

